package com.dime.physical.mapper;

import java.util.List;
import com.dime.physical.domain.DimeInquiryradiationoccupations;

/**
 * 问诊放射职业史Mapper接口
 * 
 * @author Tiny
 * @date 2023-10-07
 */
public interface DimeInquiryradiationoccupationsMapper 
{
    /**
     * 查询问诊放射职业史
     * 
     * @param id 问诊放射职业史主键
     * @return 问诊放射职业史
     */
    public DimeInquiryradiationoccupations selectDimeInquiryradiationoccupationsById(String id);

    /**
     * 查询问诊放射职业史列表
     * 
     * @param dimeInquiryradiationoccupations 问诊放射职业史
     * @return 问诊放射职业史集合
     */
    public List<DimeInquiryradiationoccupations> selectDimeInquiryradiationoccupationsList(DimeInquiryradiationoccupations dimeInquiryradiationoccupations);

    /**
     * 新增问诊放射职业史
     * 
     * @param dimeInquiryradiationoccupations 问诊放射职业史
     * @return 结果
     */
    public int insertDimeInquiryradiationoccupations(DimeInquiryradiationoccupations dimeInquiryradiationoccupations);

    /**
     * 修改问诊放射职业史
     * 
     * @param dimeInquiryradiationoccupations 问诊放射职业史
     * @return 结果
     */
    public int updateDimeInquiryradiationoccupations(DimeInquiryradiationoccupations dimeInquiryradiationoccupations);

    /**
     * 删除问诊放射职业史
     * 
     * @param id 问诊放射职业史主键
     * @return 结果
     */
    public int deleteDimeInquiryradiationoccupationsById(String id);

    /**
     * 批量删除问诊放射职业史
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDimeInquiryradiationoccupationsByIds(String[] ids);

    public List<DimeInquiryradiationoccupations> selectDimeInquiryradiationoccupationsByPhysicalId(String physicalId);

    public int deleteDimeInquiryradiationoccupationsByPhysicalId(String physicalId);
}
